from django.test import TestCase

# Create your tests here.

# class Person(object):
#     def __init__(self, name):
#         self.name = name
#
#     def eat(self):
#         print(self)
#         print('eat....')

# 实例方法
# egon = Person('egon')
# egon.eat()

# 函数
# Person.eat(123)

import re
#
# a = '123/223/da/fgg'
#
#
# b,c  = re.split('gg', a)
# print(b)

a = {1:'3'}
a.items()